package com.wsoft.dc.service;

import com.wsoft.dc.query.dc.DcListQuery;
import com.wsoft.dc.query.dc.DcPortalQuery;
import com.wsoft.dc.vo.PortalCountVO;

import java.util.List;
import java.util.Map;

/**
 * @author z001
 * @Date 2024/12/18 15:45
 */
public interface IDcService {

    /**
     * 分页查询
     *
     * @param query
     * @param isPage
     * @return
     */
    Map<String, Object> dcList(DcListQuery query,boolean isPage);

    /**
     * 门户查询count
     *
     * @param query
     * @return
     */
    List<PortalCountVO> portalCount(DcPortalQuery query);

    /**
     * 首页弹框-查询待办个数
     * @return
     */
    Long homeCount();
}
